From: Benjamin Otte Date: Thu, 9 Jun 2022 05:16:13 +0000 (+0200) Subject: inscription: Set css name X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~132^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7c034cc28371d58f76627065304b55458bbf3316;p=gtk4.git inscription: Set css name We use "label" just like GtkLabel as the two widgets differ in the way they are measured, but they should be styled the same. If it turns out we change our opinion on this for specific cases, we can add style classes later. --- diff --git a/gtk/gtkinscription.c b/gtk/gtkinscription.c index ffe7ffd09c..e043e3a0e4 100644 --- a/gtk/gtkinscription.c +++ b/gtk/gtkinscription.c @@ -654,6 +654,7 @@ gtk_inscription_class_init (GtkInscriptionClass *klass) g_object_class_install_properties (gobject_class, N_PROPS, properties); + gtk_widget_class_set_css_name (widget_class, "label"); gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_LABEL); }